﻿<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>

    <link rel="stylesheet" type="text/css" href="__STATIC__admin/css/admin-min.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__admin/css/admin-admin.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__admin/iconfont/1.0.7/iconfont.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__admin/icheck/icheck.css"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__admin/skin/default/skin.css" id="skin"/>
    <link rel="stylesheet" type="text/css" href="__STATIC__admin/css/admin-style.css"/>

    <title>我的桌面</title>
</head>
<body>
<div class="page-container">
    <p class="f-20 text-success">欢迎使用 <a href="http://www.58shiyan.com">PHP分类信息系统</a><span
            class="f-14"><?php echo C('PHPFENLEI_VERSION'); ?></span>！</p>
    <p>登录次数：<?php echo $userData['login_count']; ?> </p>
    <p>上次登录IP：<?php echo $userData['login_ip']; ?>
        上次登录时间：<?php echo date("Y-m-d H:i:s", $userData['login_time']); ?></p>
    <table class="table table-border table-bordered table-bg">
        <thead>
        <tr>
            <th colspan="7" scope="col">信息统计</th>
        </tr>
        <tr class="text-c">
            <th>统计</th>
            <th>分类信息</th>
            <th>新闻资讯</th>

            <th>用户</th>
        </tr>
        </thead>
        <tbody>
        <tr class="text-c">
            <td>今日</td>
            <td>{$infoCountTody}</td>
            <td>{$newsCountTody}</td>
            <td>{$userCountTody}</td>
        </tr>
        <tr class="text-c">
            <td>昨日</td>
            <td>{$infoCountYesterDay}</td>
            <td>{$newsCountTody}</td>
            <td>{$userCountYesterDay}</td>
        </tr>
        <tr class="text-c">
            <td>本周</td>
            <td>{$infoCountLastWeekCount}</td>
            <td>{$newsCountTody}</td>

            <td>{$userCountLastWeekCount}</td>
        </tr>
        </tbody>
    </table>

    <div class="trips" style="float: left;width: 50%;height: 260px;overflow: auto;border: 1px solid #ddd;margin:20px 0px 0px 0px; ">
        <div class="trips-title" style="background-color: #f5fafe;height: 35px;line-height: 35px;font-size: 14px;font-weight: 700;border-bottom: 1px solid #ddd;text-indent: 10px;">官方动态</div>
        <div class="trips-content" style="padding: 10px;font-size: 12px;">
            <script type="text/javascript" src="http://bbs.138gzs.com/api.php?mod=js&bid=3"></script>
        </div>

    </div>
    <table class="table table-border table-bordered table-bg mt-20" style="width: 48%;float: right;">
        <thead>
        <tr>
            <th colspan="2" scope="col">服务器信息</th>
        </tr>
        </thead>
        <tbody>
        <tr>
            <td>服务器系统</td>
            <td><?php echo $server['WEB_SERVER']; ?></td>
        </tr>
        <tr>
            <td>系统</td>
            <td><?php echo $server['PHP_SYSTEM']; ?></td>
        </tr>
        <tr>
            <td>PHP版本</td>
            <td><?php echo $server['PHP_VERSION']; ?></td>
        </tr>
        <tr>
            <td>程序版本</td>
            <td><a href="http://www.phpfenlei.com">PHP分类信息系统</a><?php echo C('PHPFENLEI_VERSION'); ?></td>
        </tr>
        <tr>
            <td>安装目录</td>
            <td><?php echo $server['DOCUMENT_ROOT']; ?></td>
        </tr>
        <tr>
            <td>远程读取</td>
            <td><?php echo $server['CURL_GETINFO']; ?></td>
        </tr>


        </tbody>
    </table>

</div>
<div class="clear" style="clear: both;"></div>
<footer class="footer mt-20">
    <div class="container">
        <p><br>
            Copyright &copy;<a href="http://www.phpfenlei.com/" target="_blank" title="PHPFENLEI">phpfenlei.com</a><br>
        </p>
    </div>
</footer>


</body>
</html>